<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><title>
	炮弹走私
</title><script language="javascript" type="text/javascript"> 
            var applicationPath = "";
        </script>
<meta http-equiv="content-language" content="zh-CN" />
<link rel="icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<meta name="author" content="Hishop development team" />
<meta name="GENERATOR" content="微分销" />
<meta name="renderer" content="webkit" /><link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css" />
<script type="text/javascript" src="../admin/js/browserdetect.js"></script>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="http://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../admin/css/bootstrap-datetimepicker.min.css" />
<script type="text/javascript" src="../admin/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="../admin/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="../admin/js/jquery.formvalidation.js"></script>
<link rel="stylesheet" href="../admin/css/common.css" />
<script src="../admin/js/Framenew.js?3.3.1bk1"></script>
<meta name="keywords" /><meta name="description" />
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <script src="../../Utility/swfupload/swfupload.js" type="text/javascript" charset="gbk"></script>
    <script src="../../Utility/swfupload/DisLogoupload.js" type="text/javascript" charset="gbk"></script>
    <script src="/admin/js/jquery.formvalidation.js" type="text/javascript"></script>
    <style>
        span, small {
            font-size: 12px;
        }

        .swfupload {
            float: left;
        }

        #SWFUpload_0 {
            margin-top: 55px;
            margin-left: 5px;
            border: 0px solid red;
            background: none;
        }

        #SWFUpload_1 {
            position: absolute;
            top: 0px;
            left: 0px;
        }

        .errorFocus {
            height: 34px;
            padding-left: 15px;
        }

        .msgError {
            color: red;
            background: url(../images/false.gif) left center no-repeat;
            border: none;
            padding-left: 24px;
        }

        .gray {
            color: #a19c9c;
            padding-left: 10px;
            display: none;
        }

        .wtx {
            clear: both;
            margin-left: 190px;
            font-size: 12px;
            line-height: 20px;
            color: #a19c9c;
        }

        .dialog-content td {
            vertical-align: middle;
        }
    </style>

</head>
<body class="theme theme--blue">

    <header class="ui-header navbar-fixed-top">
        <div class="ui-header-inner clearfix">
            <h1 class="ui-header-logo">
                <a href="/admin/" title="管理后台">
                    <span class="version"><i>3.4</i></span>
                </a>
            </h1>
            <nav class="ui-header-nav">
                <ul class="clearfix">
<li class="divide">|</li>
<li class=" active" mid="m01"><a href="../Default.html" title="店铺">店铺</a></li>
<li mid="m02"><a href="../productonsales.html" title="商品">商品</a></li>
<li mid="m03"><a href="../manageorder.html" title="订单">订单</a></li>
<li class="divide">|</li>
<li mid="m04"><a href="../MemberGaiKuang.html" title="会员">会员</a></li>
<li mid="m05"><a href="../DistributorSummary.html" title="分销">分销</a></li>
<li class="divide">|</li>
<li mid="m06"><a href="#" title="微信">微信</a></li>
<li mid="m07"><a href="#" title="微博">微博</a></li>
<li mid="m11"><a href="#" title="服务窗">服务窗</a></li>
<li class="divide">|</li>
<li mid="m08"><a href="#" title="营销">营销</a></li>
<li class="divide">|</li>
<li mid="m09"><a href="../Alipay.html" title="设置">设置</a></li>
<li mid="m10"><a href="../salereport.html" title="分析统计">分析统计</a></li>
</ul>

            </nav>
            <div class="ui-header-user ">
                <div class="customer-wrap">
                </div>
                <div class="dropdown hover dropdown-right">
                    <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="txt">
                            <span class="ellipsis team_name">炮弹走私</span><span class="dash"> - </span><span>admin</span>
                        </span>
                        <i class="caret"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/admin/Settings/EditManager.aspx?UserID=1"><span class="glyphicon glyphicon-user"></span>个人信息</a></li>
                        <li><a href="/admin/Settings/EditManagerPassword.aspx?UserID=1"><span class="glyphicon glyphicon-list-alt"></span>修改密码</a></li>
                        <li class="divide"></li>
                        <li><a href="/Admin/LoginExit.aspx"><span class="glyphicon glyphicon-indent-right"></span>退出</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <div class="container">
        <div class="app">
            <div class="app-inner clearfix">

    <div class="page-header">
        <h2>店铺信息</h2>
    </div>
    <form name="aspnetForm" method="post" action="Config.aspx" id="aspnetForm" class="form-horizontal">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTExMTQwNzU4OTgPZBYCZg9kFggCAQ8WAh4EVGV4dAWECjx1bCBjbGFzcz0iY2xlYXJmaXgiPg0KPGxpIGNsYXNzPSJkaXZpZGUiPnw8L2xpPg0KPGxpIGNsYXNzPSIgYWN0aXZlIiBtaWQ9Im0wMSI+PGEgaHJlZj0iL0FkbWluL0RlZmF1bHQuYXNweD9maXJzdFBhZ2U9MSIgdGl0bGU9IuW6l+mTuiI+5bqX6ZO6PC9hPjwvbGk+DQo8bGkgbWlkPSJtMDIiPjxhIGhyZWY9Ii9BZG1pbi9nb29kcy9wcm9kdWN0b25zYWxlcy5hc3B4P2ZpcnN0UGFnZT0xIiB0aXRsZT0i5ZWG5ZOBIj7llYblk4E8L2E+PC9saT4NCjxsaSBtaWQ9Im0wMyI+PGEgaHJlZj0iL0FkbWluL3RyYWRlL21hbmFnZW9yZGVyLmFzcHg/Zmlyc3RQYWdlPTEiIHRpdGxlPSLorqLljZUiPuiuouWNlTwvYT48L2xpPg0KPGxpIGNsYXNzPSJkaXZpZGUiPnw8L2xpPg0KPGxpIG1pZD0ibTA0Ij48YSBocmVmPSIvQWRtaW4vbWVtYmVyL01lbWJlckdhaUt1YW5nLmFzcHg/Zmlyc3RQYWdlPTE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l0bGU9Iue0oOadkOeuoeeQhiI+57Sg5p2Q566h55CGPC9hPjwvbGk+DQo8bGk+PGEgaHJlZj0iL0FkbWluL3Nob3AvTWFuYWdlTmluZUltYWdlcy5hc3B4IiB0aXRsZT0i5Lmd5Zu+5LiA5paHIj7kuZ3lm77kuIDmloc8L2E+PC9saT4NCjwvdWw+DQo8ZW0gY2xhc3M9ImdseXBoaWNvbiBpY28tdHVwaWFuIj48L2VtPg0KPHNwYW4+5Zu+5bqT566h55CGPC9zcGFuPg0KPHVsIGlpZD0iZHBpMDQiPg0KPGxpPjxhIGhyZWY9Ii9BZG1pbi9zaG9wL2ltYWdlZGF0YS5hc3B4IiB0aXRsZT0i5Zu+54mH5bqTIj7lm77niYflupM8L2E+PC9saT4NCjxsaT48YSBocmVmPSIvQWRtaW4vc2hvcC9pbWFnZXR5cGUuYXNweCIgdGl0bGU9IuWbvueJh+WIhue7hCI+5Zu+54mH5YiG57uEPC9hPjwvbGk+DQo8L3VsPg0KZGQqs3XSSoluvJJFEfsDmh/7yaHNIQ==" />
</div>

<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="3AA3A508" />
</div>
        <input type="hidden" name="ctl00$ContentPlaceHolder1$hidpic" id="ctl00_ContentPlaceHolder1_hidpic" value="/Storage/data/DistributorLogoPic/20170816121622_9443.jpg" />
        <input type="hidden" name="ctl00$ContentPlaceHolder1$hidpicdel" id="ctl00_ContentPlaceHolder1_hidpicdel" />
        <div class="form-group">
            <label for="inputEmail3" class="col-xs-2 control-label"><span style="color: red">*</span>店铺LOGO：</label>
            <div class="col-xs-3">
                <div class="shop-logo" style="position: relative">
                    <div id="divFileProgressContainer1" style="float: left; border: 1px solid #a19c9c; padding: 2px">
                        <p id="imgall" style="height: 70px; width: 70px; overflow: hidden;"></p>
                    </div>
                    <span id="divFileProgressContainer" style="float: left"></span>
                    <span id="spanButtonPlaceholder">修改</span>
                    <div style="clear: both; color: #808080; font-size: 12px; padding-top: 10px">
                        建议尺寸：200 x 200 像素<br />
                        小于120KB，支持.jpg、.gif、.png格式
                    </div>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-xs-2 control-label"><span style="color: red">*</span>店铺名称：</label>
            <div class="col-xs-3">
                <input name="ctl00$ContentPlaceHolder1$txtSiteName" type="text" value="炮弹走私" id="ctl00_ContentPlaceHolder1_txtSiteName" class="form-control" />
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword3" class="col-xs-2 control-label">联系电话：</label>
            <div class="col-xs-3">
                <input name="ctl00$ContentPlaceHolder1$txtShopTel" type="text" id="ctl00_ContentPlaceHolder1_txtShopTel" class="form-control" />
                <small class="help-block">支持输入手机号码或座机号码</small>
            </div>

        </div>



        <div class="form-group">
            <label for="inputPassword3" class="col-xs-2 control-label">店铺介绍：</label>
            <div class="col-xs-4">
                <textarea name="ctl00$ContentPlaceHolder1$txtShopIntroduction" rows="2" cols="20" id="ctl00_ContentPlaceHolder1_txtShopIntroduction" class="form-control" style="height:100px;width:300px;">
炮弹走私炮弹走私</textarea>
                <small class="help-block">微信分享店铺给好友时会显示这里的文案</small>
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-offset-2 col-xs-10">
                <input type="submit" name="ctl00$ContentPlaceHolder1$btnSave" value="保存" id="ctl00_ContentPlaceHolder1_btnSave" class="btn inputw100 btn-success" />
            </div>
        </div>









        <script type="text/javascript">
            var swfu;
            var swfum;
            $(function () {


                function loader(url) {
                    var settings = {
                        upload_url: "DistributorLogoUpload.aspx",
                        post_params: {
                            imgurl: url
                        },
                        use_query_string: true,
                        file_size_limit: "120 KB",
                        file_types: "*.jpg;*.gif;*.png;*.jpeg",
                        file_types_description: "JPG Images",
                        file_upload_limit: "0",

                        file_queue_error_handler: fileQueueErrorNew,
                        file_dialog_complete_handler: fileDialogComplete,
                        upload_progress_handler: uploadProgress,
                        upload_start_handler: uploadStartNew,
                        upload_error_handler: fileQueueErrorNew,
                        upload_success_handler: uploadSuss,
                        upload_complete_handler: uploadComplete,
                        //button_image_url: "/Admin/images/swfupload_uploadBtn.png",
                        button_text: "修改",
                        button_text_style: "color: #555555; font-size: 16pt;cursor:pointer",
                        button_placeholder_id: "spanButtonPlaceholder",
                        button_action: SWFUpload.BUTTON_ACTION.SELECT_FILE,
                        button_width: 40,
                        button_cursor: SWFUpload.CURSOR.HAND,
                        button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
                        button_height: 20,
                        button_text_top_padding: 0,
                        button_text_left_padding: 0,
                        flash_url: "/Utility/swfupload/swfupload.swf",
                        custom_settings: {
                            upload_target: "divFileProgressContainer1"
                        },
                        debug: false
                    };

                    swfu = new SWFUpload(settings);

                    settings.button_placeholder_id = "divFileProgressContainer";
                    settings.button_text = "";
                    settings.button_height = 70;
                    settings.button_width = 70;
                    settings.post_params.imgurl = 0;

                    swfum = new SWFUpload(settings)

                };



                if ($("#ctl00_ContentPlaceHolder1_hidpic").val() != "") {
                    $("#imgall").append("<span id='span0' style='margin-right:10px'><img src='" + $("#ctl00_ContentPlaceHolder1_hidpic").val() + "' width='70' height='70'/></span>");
                    loader(1);
                } else {
                    loader(0);
                }


            });


            //上传错误检查
            function fileQueueErrorNew(file, errorCode, message) {
                try {
                    switch (errorCode) {
                        case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:
                            setTimeout(function () { HiTipsShow("文件为空！", 'error') }, 300);
                            break;
                        case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:
                            setTimeout(function () { HiTipsShow("最大上传文件120KB！", 'error') }, 300);
                            break;
                        case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:
                            alert("您的登入信息已失效！");
                            window.location = "/admin/Login.aspx";
                            break;
                        case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:
                            setTimeout(function () { HiTipsShow("空文件，上传失败", 'error') }, 300);
                            break;
                        case SWFUpload.QUEUE_ERROR.INVALID_FILETYPE:
                            setTimeout(function () { HiTipsShow("非图片文件，请使用JPG，PNG，BMP，GIF格式文件", 'error') }, 300);
                            break;
                        default:
                            alert("上传异常：错误代码" + errorCode + ",提示信息->" + message);
                            break;
                    }

                } catch (ex) {
                    this.debug(ex);
                }

            }


            //开始上传触发
            function uploadStartNew(file) {
                try {

                    EditDelImg();
                    var progress = new FileProgress(file, this.customSettings.progressTarget);
                    progress.setStatus("Uploading...");
                    progress.toggleCancel(true, this);
                }
                catch (ex) {
                }

                return true;

            }

            //上传成功触发事件
            function uploadSuss(file, serverData) {
                try {


                    if (serverData != "0") {
                        var imgurl = $("#ctl00_ContentPlaceHolder1_hidpic").val();

                        $("#ctl00_ContentPlaceHolder1_hidpic").val(imgurl);
                        $("#imgall").append("<span id='span0' style='margin-right:10px'><img src='" + serverData.split("|")[1] + "' width='70' height='70'/></span>");
                        $("#ctl00_ContentPlaceHolder1_hidpic").val(serverData.split("|")[1]);
                        swfu.setPostParams({ "imgurl": 0 });

                        setTimeout(function () { HiTipsShow("修改成功！", "success") }, 300);
                    }
                    else {
                        alert("图片上传最多1张！");
                    }
                    var progress = new FileProgress(file, this.customSettings.upload_target);
                    progress.toggleCancel(false);


                } catch (ex) {
                    this.debug(ex);
                }
            }

            function EditDelImg() {
                //删除图片，暂时未更新
                if ($("#span0").length > 0) {
                    var obj = $("#span0 img").attr("src") + "|";
                    var alldelpic = $("#ctl00_ContentPlaceHolder1_hidpicdel").val();
                    alldelpic += obj;
                    $("#ctl00_ContentPlaceHolder1_hidpicdel").val(alldelpic);
                    $("#ctl00_ContentPlaceHolder1_hidpic").val(""); //清空
                    $("#span0").remove();
                    swfu.setPostParams({ "imgurl": 0 }); //动态参数

                };
            }


            function InitValidators() {
                $('#aspnetForm').formvalidation({
                    'ctl00$ContentPlaceHolder1$txtSiteName': {
                        validators: {
                            notEmpty: {
                                message: '请填写您的店铺名称，长度在10个字以内'
                            },
                            stringLength: {
                                min: 1,
                                max: 10,
                                message: '店铺名称的长度不能超过10个字'
                            }
                        }
                    },
                    'ctl00$ContentPlaceHolder1$txtShopTel': {
                        validators: {
                            tell: {
                                message: '请填写正确的手机或座机号码'
                            }
                        }
                    },
                    'ctl00$ContentPlaceHolder1$txtShopIntroduction': {
                        validators: {
                            stringLength: {
                                min: 0,
                                max: 60,
                                message: '店铺介绍的长度不能超过60个字'
                            }
                        }
                    }
                });
            }

            $(document).ready(function () {
                InitValidators();

            });
        </script>
    </form>

            </div>
        </div>
        <aside class="ui-sidebar sidebar" style="min-height: 533px;">
            <nav class="well" id="menu_left">
                <ul iid="dpi01">
<li><a href="../Default.html" title="店铺概况">店铺概况</a></li>
</ul>
<em class="glyphicon ico-dianp"></em>
<span>店铺管理</span>
<ul iid="dpi02">
<li class=" active"><a href="Config.html" title="店铺信息">店铺信息</a></li>
<li><a href="ShopIndex.html" title="店铺主页">店铺主页</a></li>
<li><a href="ShopMenu.html" title="店铺导航">店铺导航</a></li>
<li><a href="MeiQia.html" title="在线客服">在线客服</a></li>
<li><a href="NoticeList.html" title="消息公告">消息公告</a></li>
</ul>
<ul iid="dpi03">
<li><a href="#" title="素材管理">素材管理</a></li>
<li><a href="ManageNineImages.html" title="九图一文">九图一文</a></li>
</ul>
<em class="glyphicon ico-tupian"></em>
<span>图库管理</span>
<ul iid="dpi04">
<li><a href="imagedata.html" title="图片库">图片库</a></li>
<li><a href="imagetype.html" title="图片分组">图片分组</a></li>
</ul>

            </nav>
        </aside>
    </div>
    <div class="mt20"></div>
</body>
</html>

